﻿<%@ Page Title="" Language="C#" MasterPageFile="~/EasyUI.Master" AutoEventWireup="true" CodeBehind="importExcel.aspx.cs" Inherits="LCrs.Web.personeinfo.importExcel" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="importExcel.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tab_toolbar" style="padding: 4px;">
      
        <table cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>

                <td style="padding-left: 2px">


                    <a href="#" onclick="newUser();" id="a_add"
                        class="easyui-linkbutton" iconcls="icon-add">添加</a>
                    <a href="javascript:void(0)" onclick="editUser() " class="easyui-linkbutton" data-options="iconCls:'icon-edit'">修改</a>
                    <a href="#" onclick="removeUser();return false;" id="a_del" class="easyui-linkbutton" iconcls="icon-cancel">删除</a>
                    <a href="#" onclick="importUser();return false;"  class="easyui-linkbutton" iconcls="icon-bullet_go">导入</a>

                </td>
                <td style="text-align: right; padding-right: 15px">
                    <input id="ipt_search" menu="#search_menu" />
                    <div id="search_menu" style="width: 120px">
                        <div name="usernum">
                            用户名
                        </div>
                        <div name="username">
                            姓 名
                        </div>
                    </div>
                </td>
            </tr>
        </table>
        
    </div>

     <div id="dlgimport" class="easyui-dialog" style="width: 300px; height: 150px; padding: 5px"
        data-options="closed:true,buttons:'#dlgpic-buttons',shadow:false">

        <form id="fmimport" method="post" enctype="multipart/form-data" style="width: 100%; height: 100%;">            
            <div >
                <input class="easyui-filebox" id="pimportfile" name="pimportfile" data-options="buttonText: '选择文件',accept:'application/vnd.ms-excel'" style="width: 280px" />
            </div>
            <div class="fitem">
                <a href="../template/template.xls">模版下载</a>
                </div>
        </form>
    </div> 
    <div id="dlgpic-buttons">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="saveimportUser()">导入</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#dlgimport').dialog('close')">关闭</a>
    </div>
</asp:Content>
